import request from "@/utils/request";

// 查询APP管理列表
export function listBizAppVersion(query) {
  return request({
    url: "/biz/bizAppVersion/list",
    method: "get",
    params: query,
  });
}

// 查询APP管理详细
export function getBizAppVersion(id) {
  return request({
    url: "/biz/bizAppVersion/" + id,
    method: "get",
  });
}

// 新增APP管理
export function addBizAppVersion(data) {
  return request({
    url: "/biz/bizAppVersion",
    method: "post",
    data: data,
  });
}

// 修改APP管理
export function updateBizAppVersion(data) {
  return request({
    url: "/biz/bizAppVersion",
    method: "put",
    data: data,
  });
}

// 删除APP管理
export function delBizAppVersion(id) {
  return request({
    url: "/biz/bizAppVersion/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizAppVersion/findMaxSort",
    method: "get",
  });
}
// 导出APP管理
export function exportBizAppVersion(query) {
  return request({
    url: "/biz/bizAppVersion/export",
    method: "get",
    params: query,
  });
}
